package com.whfc.mach.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @author sun_guodong
 * @description
 * @date 2020-12-22
 */
@Data
public class MachOilAdd implements Serializable {
    @NotNull
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    @NotNull
    private Double oilAdd;
}
